﻿namespace HCRS.Implementation
{
    using System;

    public class UserLog
    {
        private string _Address = "";
        private string _IP = "";
        private string _ITime = "";
        private int _Logintimes = 0;

        /// <summary>
        /// 登录位置
        /// </summary>
        public string Address
        {
            get
            {
                return this._Address;
            }
            set
            {
                if (this._Address != value)
                {
                    this._Address = value;
                }
            }
        }

        /// <summary>
        /// 上次登陆ＩＰ地址
        /// </summary>
        public string IP
        {
            get
            {
                return this._IP;
            }
            set
            {
                if (this._IP != value)
                {
                    this._IP = value;
                }
            }
        }

        /// <summary>
        /// 上次登陆时间
        /// </summary>
        public string ITime
        {
            get
            {
                return this._ITime;
            }
            set
            {
                if (this._ITime != value)
                {
                    this._ITime = value;
                }
            }
        }

        /// <summary>
        /// 登录次数
        /// </summary>
        public int Logintimes
        {
            get
            {
                return this._Logintimes;
            }
            set
            {
                if (this._Logintimes != value)
                {
                    this._Logintimes = value;
                }
            }
        }
    }
}

